<%@ page language="java" pageEncoding="UTF-8" buffer="16kb"%>
<%@ include file="/base.jsp"%>
<%@ include file="/module/taglibs.jsp"%>
<%@ include file="/module/nocache.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<%@ include file="/module/js.jsp"%>
<%@ include file="/module/orderField.jsp"%>

<style>

table label.error {
    margin-left: 5px;
    width: auto;
    display: inline;
    color: red;
}


</style>
</head>
<body>
     <form action="#" name="Form" id="Form" method="post">
       <input type="hidden" name="directoryId" id="directoryId"  value="${data.directoryId}"/>
		<table cellpadding="0" cellspacing="0" border="0" class="table-border" width="80%">
			<tr>
				<td class="table-header" colspan="4">目录管理</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 30%">项目名：</td>
				<td class="table-contentTD" style="width: 70%">${data.projectName}</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 30%">目录名：</td>
				<td class="table-contentTD" style="width: 70%">${data.directoryName}</td>		
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 30%">负责人：</td>
				<td class="table-contentTD">${data.xm}</td>
			</tr>
		</table>
		<br />
		<table cellpadding="1" cellspacing="1" border="0" align="left">
			<tr>
			   <kl:permission permisstionList="${permisstionList}" currentUser="${_login_console_user}" currentCatalogId="<%=CatalogUtils.getCatalogId(\"OF_ZLTS_CLGL\")%>" key="modify">	
				<td><input type="button" id="btnSave" class="inputButton" style="text-align: center;" value="修改" /></td>
				</kl:permission>
				<td><input type="button" id="returnBut"  class="inputButton" value="返回"  style="text-align: center;"/></td>
			</tr>
		</table>
		<script>
		 
			$(document).ready(function() {
				 $("#btnSave").click(function() {
					 window.location.href ="${basePath}/directory/updateToview?id="+ $("#directoryId").val();
		 		 });
				
				 $("#returnBut").click(function() {
		 			 window.location.href='${basePath}/directory/index';
		 		 });
			});
		</script>
	</form>
</body>
</html>
